<template>
    <div>
        <div class="head">
            <!-- 头部盒子 -->
            <div class="head1">
                <img src="../../../assets/images/head01.png" alt="">
                <div class="heada">
                    <span class="span2">首页</span>
                    <!--            下拉列表-->
                    <Classification></Classification>
                    <span class="span3">专属课程</span>
                </div>
                <div class="bottomBorder"></div>
            </div>
            <div class="head2">
                <input type="text" placeholder="搜索课程" class="input1">
                <input type="button" value="搜索" class="input2">
            </div>
            <Login style="margin-top:20px;margin-right: 200px"></Login>
        </div>
    </div>
</template>

<script>
    import Classification from "../../../components/Classification";
    import Login from "../../../components/Login";

    export default {
        name: "Title",
        components: {
            Classification,
            Login
        }
    }
</script>

<style scoped>
    .head {
        width: 100%;
        height: 160px;
        /* background-color: pink; */
        overflow: hidden;
    }

    .head1 {
        width: 300px;
        height: 120px;
        /*   border: 1px solid black; */
        margin-top: 2.4%;
        margin-left: 10%;
        float: left;
    }

    .heada {
        margin-top: 8%;
        margin-left: -12%;
        width: 300px;
    }

    .heada .span2 {
        margin-top: 0%;
        margin-left: 10%;
        font-size: 16px;
        color: #00cf8c;
    }

    .spanMid {
        margin-left: 10%;
    }

    .bottomBorder {
        border-bottom: 2px solid #00cf8c;
        width: 20px;
        position: relative;
        margin-top: 3%;
    }

    .heada .span3 {
        margin-top: 0%;
        margin-left: 10%;
        font-size: 16px;
    }

    .heada span1 {
        margin-top: 0%;
        margin-left: 10%;
        line-height: 30px;
        font-size: 16px;
        cursor: pointer;
    }

    .head2 {
        float: left;
        margin-top: 3%;
        margin-left: 4%;
        overflow: hidden;

    }

    .head2 .input1 {
        border: 1px solid #cccccc;
        height: 38px;
        width: 320px;
        border-radius: 30px 0px 0px 30px;
        font-size: 16px;
        padding-left: 2%;
        outline: none;
    }

    .head2 .input2 {
        height: 39px;
        width: 100px;
        background-color: #00cf8c;
        border-radius: 0px 30px 30px 0px;
        border: solid 1px #cccccc;
        margin-left: -2%;
        color: white;
        font-size: 16px;
        outline: none;
    }

    .head3 {
        margin-top: 3%;
        margin-left: 0%;
        float: left;
        height: 30px;
    }

    .head3b {
        float: left;
    }

    .head3b img {
        width: 10%;
        height: 10%;
        margin-left: 90%;
        margin-top: 7%;
    }

    .head3a {
        position: relative;
        top: 50%;
        float: left;
    }


    .head3 a {
        text-decoration: none;
        color: black;
    }

    /*    登录头像*/
    .loginAvatar {
        width: 100px;
        float: left;
        margin-top: 56px;
    }

    .loginAvatar > span > img {
        display: block;
        width: 100%;
        height: 100%;
    }


</style>